package io.renren.modules.lucky.dto;

import io.renren.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 招财猫后台记录
 *
 * @author Liang Pei
 * @since 1.0.0 2025-01-06
 */
@Data
@ApiModel(value = "招财猫后台记录")
public class LuckyRecordDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "页面session")
    private String sessionId;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "平台编码")
    private String platCode;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "地市")
    private String city;

    @ApiModelProperty(value = "区县")
    private String district;

    @ApiModelProperty(value = "运营商")
    private String isp;

    /**
     * 当前URL
     */
    @ApiModelProperty(value = "当前URL")
    private String currentUrl;

    /**
     * 来源URL
     */
    @ApiModelProperty(value = "来源URL")
    private String referrerUrl;

    @ApiModelProperty(value = "页面浏览量")
    private Integer pv;

    @ApiModelProperty(value = "独立访客量")
    private Integer uv;

    @ApiModelProperty(value = "点击量")
    private Integer clicks;

    @ApiModelProperty(value = "IP地址")
    private String ip;

    @ApiModelProperty(value = "预期收入")
    private BigDecimal forecastRevenue;

    @ApiModelProperty(value = "点位 1-用户离开；2-办理失败；3-办理成功")
    private Integer pointNum;

    @ApiModelProperty(value = "媒体ID，默认为空")
    private String mediaId;

    @ApiModelProperty(value = "业务接口失败编码")
    private String errCode;

    @ApiModelProperty(value = "业务接口失败原因")
    private String errMsg;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}